package com.dk.shared.autoconfigure.proxy;

import com.dk.shared.proxy.ProxyApiDefinition;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author wangdakai
 * @description
 * @date 2024/01/18 11:11
 */
@Configuration
public class ProxyApiConfiguration {


    @Bean
    @ConditionalOnMissingBean
    public ProxyApiDefinition proxyApiDefinition() {
        return new ProxyApiDefinition();
    }

}
